package com.innovation.chengzhangriji.ui.widget;

import android.content.Context;
import android.util.AttributeSet;

import com.innovation.chengzhangriji.ChZhRJApplication;

public class CuteTextView extends EmojiTextView {

    public CuteTextView(Context context) {
        super(context);
        init(context);
    }

    public CuteTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init(context);
    }

    public CuteTextView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init(context);
    }

    private void init(Context context) {
        setTypeface(((ChZhRJApplication) context.getApplicationContext()).getTypeface());
    }

}
